import request from "@/utils/request-jwt";
const baseURL = process.env.VUE_APP_BASE_URL;
export function getMeterManage(params) {
  return request({
    url: baseURL + "/superlink/api/meterManage/list",
    method: "get",
    params
  });
}
export function addMeterManage(data) {
  return request({
    url: baseURL + "/superlink/api/meterManage/create",
    method: "post",
    data
  });
}

export function delMeterManage(token) {
  return request({
    url: baseURL + "/superlink/api/meterManage/delete/" + token,
    method: "delete"
  });
}
export function updateMeterManage(token, data) {
  return request({
    url: baseURL + "/superlink/api/meterManage/update/" + token,
    method: "put",
    data
  });
}
